<div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-address-card-o"></i>主单信息</span></div>
<div class="layui-card-body">
    <div id="receivingNoteView"></div>
</div>
<!--TODO-->
<!--
<div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-file-text"></i>附件资料</span></div>
<div class="layui-card-body">
    <a href="javascript:" class="file-size" doc-id="" show-file="impOrderAll" edit="false"></a>
</div>
-->
<div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-list"></i>产品信息</span></div>
<div class="layui-card-body" style="padding: 0px;">
    <div class="layui-tab layui-tab-brief" style="margin: 0px;">
        <ul class="layui-tab-title">
            <li class="layui-this">物料信息</li>
            <li>数量信息</li>
            <li>包装信息</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <table class="layui-hide" id="memberMaterial"></table>
            </div>
            <div class="layui-tab-item">
                <table class="layui-hide" id="memberQty"></table>
            </div>
            <div class="layui-tab-item">
                <table class="layui-hide" id="memberOther"></table>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="receivingNoteViewTemp">
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">入库单号：</label><label class="fval">{{d.docNo}}</label></div>
        <div class="layui-col-md3"><label class="fkey">入库时间：</label><label class="fval">{{d.receivingDate}}</label></div>
        <div class="layui-col-md3"><label class="fkey">客户名称：</label><label class="fval">{{d.customerName}}</label></div>
        <div class="layui-col-md3"><label class="fkey">供应商：</label><label class="fval">{{removeNull(d.supplierName)}}</label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">入库仓库：</label><label class="fval">{{d.warehouseName}}</label></div>
        <div class="layui-col-md3"><label class="fkey">入库方式：</label><label class="fval">{{d.deliveryModeName}}</label></div>
        <div class="layui-col-md3"><label class="fkey">快递公司：</label>
            <label class="fval">{{removeNull(d.inExpressTypeDesc)}}</label>
            <label class="fval">{{removeNull(d.hkExpressName)}}</label>
        </div>
        <div class="layui-col-md3"><label class="fkey">快递号：</label><label class="fval">{{removeNull(d.hkExpressNo)}}</label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md12"><label class="fkey">订单号：</label><label class="fval">{{removeNull(d.orderNo)}}</label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">入库总箱数：</label><label class="fval">{{d.totalCartonNum}}</label></div>
        <div class="layui-col-md3"><label class="fkey">状态：</label><label class="fval">{{d.statusDesc}}</label></div>
        <div class="layui-col-md3"><label class="fkey">备注：</label><label class="fval">{{removeNull(d.memo)}}</label></div>
    </div>
</script>